﻿namespace OnHook.Domain
{
    /// <summary>
    /// 常量
    /// </summary>
    public static class AppConsts
    {
        /// <summary>
        /// Redis连接字符串节点
        /// </summary>
        public const string REDIST_CONNECTSTRING_NODE = "Redis";

        /// <summary>
        /// 自动测试应用链接字符串
        /// </summary>
        public const string MYSQL_CONNECTSTRING = "OnHookApp";

        /// <summary>
        /// REDIS
        /// </summary>
        public const string REDIS_HASHSET_APPSETTING = "AppSetting";

        /// <summary>
        /// 授权验证参数缓存缓存前缀
        /// </summary>
        public const string REDIS_AUTH_CACHE_PREFIX = "WECHAT_";
        /// <summary>
        /// 每一靴的一个增长
        /// </summary>
        public const string REDIS_XUE_INCREMENT = "xue-increment";

        /// <summary>
        /// AppSetting 微信配置的分组名称
        /// </summary>
        public const string APPSETTING_WECHAT_APP = "WechatApp";

        /// <summary>
        /// 应用配置
        /// </summary>
        public const string APPSETTING_APP = "Appsetting";

        /// <summary>
        /// Jwt配置
        /// </summary>
        public const string APPSETTING_JWT = "JwtOption";

        /// <summary>
        /// RabbitMQ配置
        /// </summary>
        public const string APPSETTING_RABBITMQ = "RabbitMQ";
        /// <summary>
        /// JWT的前缀
        /// </summary>
        public const string AUTHORIZATION_JWT_PREFIX = "Bearer";
        /// <summary>
        /// 
        /// </summary>
        public const string TENPAY_CALLBACK_RESULT_SUCCESS = "success";
        /// <summary>
        /// 
        /// </summary>
        public const string TENPAY_CALLBACK_RESULT_FAIL = "fail";
    }
}
